ContentEgg\application\components\ai\ContentHelper S

Total Complexity 44
Dependencies 2
Dependents 3
Total lines 237
Lines of code 171
Logical lines of code 107
Comment lines 0
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
listToArray()
A
48 12 30
tryFixList()
S
57 7 16
isList()
S
59 6 14
prepareArticle()
S
57 3 17
isAiGenerated()
S
62 3 12
htmlToText()
S
57 1 20
prepareTitle()
S
64 2 10
headerDown()
S
62 2 10
prepareJsonResponse()
S
65 2 9
prepareProductTitle()
S
79 1 3
preparePostTitle()
S
78 1 3
prepareMarkdown()
S
68 1 7
prepareHtml()
S
68 1 7
removeMarkdownCodeBlock()
S
70 1 6
fixAiResponse()
S
68 1 7